{% extends "main.html" %}
{% block content %}
	{% for thread in threads %}
		<div><a href="/threads/{{ thread.id }}">{{ thread.title }}</a></div>
	{% endfor %}
	<form action="/threads" method="post">
	 	<input name="title" placeholder="Thread title" required>
		<input name="text" placeholder="Your message">
		<input type="submit" value="submit">
	</form>
{% endblock %}